package com.ruoyi.hxf.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程的管理业务对象 f_subject
 *
 * @author hxf
 * @date 2022-12-16
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class SubjectBo extends BaseEntity {

    /**
     * 编号(id)
     */
    @NotNull(message = "编号(id)不能为空", groups = { EditGroup.class })
    private Long subjectId;

    /**
     * 课程名
     */
    @NotBlank(message = "课程名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String subjectName;

    /**
     * 是否删除(0不显示，1显示)
     */
    private String isDelete;

    /**
     * 备注
     */
    private String remark;

    /**
     * 图片
     */
    private String picture;

    /**
     * 地址
     */
    private String url;

}
